home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2006 February / Gamestar_81_2006-02_dvd.iso / Red Shark / Villages / Camps.script < prev    next >
Text File  |  2001-09-12  |  2KB  |  57 lines

  1. //-------------------------------------------------------------------
  2. //
  3. //  This code is copyright 2001 by G5 Software.
  4. //  Any unauthorized usage, either in part or in whole of this code
  5. //  is strictly prohibited. Violators WILL be prosecuted to the
  6. //  maximum extent allowed by law.
  7. //
  8. //-------------------------------------------------------------------
  9.  
  10. class CBaseSovietCamp
  11. {
  12.   array AssociationTable = array(
  13.       array(1,  "InteriorObject", "CBaseSovietTent",     vector(0.0, 0.0, 0.0), 0.0),
  14.       array(2,  "GameObject",     "CBaseSovietGunTower", vector(0.0, 0.0, 0.0), 0.0),
  15.       array(3,  "InteriorObject", "CBaseBarrel",         vector(0.0, 0.0, 0.0), 0.0),
  16.       array(4,  "InteriorObject", "CBaseBarrelStack",    vector(0.0, 0.0, 0.0), 0.0)
  17.     );
  18.  
  19.   string SkinFileName = "Villages/Camps.skin";
  20. }
  21.  
  22. class CBaseGermanCamp
  23. {
  24.   array AssociationTable = array(
  25.       array(1,  "InteriorObject", "CBaseGermanTent",     vector(0.0, 0.0, 0.0), 0.0),
  26.       array(2,  "GameObject",     "CBaseGermanGunTower", vector(0.0, 0.0, 0.0), 0.0),
  27.       array(3,  "InteriorObject", "CBaseBarrel",         vector(0.0, 0.0, 0.0), 0.0),
  28.       array(4,  "InteriorObject", "CBaseBarrelStack",    vector(0.0, 0.0, 0.0), 0.0)
  29.     );
  30.  
  31.   string SkinFileName = "Villages/Camps.skin";
  32. }
  33.  
  34. class CCampFence
  35. {
  36.   int    MapColor        = 15;
  37.   int    Material        = 0;
  38.   int    TexturePlankQty = 1000;
  39.   float  TextureWidth    = 8.0;
  40.   float  TextureHeight   = 4.0;
  41.   float  MinSegmentSize  = 8.0f;
  42.   float  MaxSegmentSize  = 20.0f;
  43.   float  MaxAngleBtwSeg  = 10.0f;
  44. }
  45.  
  46. class CSovietCamp_01 extends CBaseSovietCamp
  47. {
  48.   string VillageMapFile = "Villages/Camp_01.bmp";
  49.   float  MapPixelWidth  = 2.0;
  50.   float  MapPixelHeight = 2.0;
  51.  
  52.   string FenceClass     = "CCampFence";
  53. }
  54.  
  55.  
  56.  
  57.